<template>
  <div class="app-container CustomerApplyDetails">
    <el-row :gutter="20">
      <el-col :span="8">
        <div class="list-ditem">
          序号：
          <div>{{data.id}}</div>
        </div>
      </el-col>
      <el-col :span="8">
        <div class="list-ditem">
          申请数据：
          <div>{{data.applyDate}}</div>
        </div>
      </el-col>
      <el-col :span="8">
        <div class="list-ditem">
          注册地址：
          <div>{{data.companyAddress}}</div>
        </div>
      </el-col>
    </el-row>
    <el-row :gutter="20">
      <el-col :span="8">
        <div class="list-ditem">
          所属类型：
          <div>{{[,"企业","个人"][data.companyType]}}</div>
        </div>
      </el-col>
      <el-col :span="8">
        <div class="list-ditem">
          客户名称：
          <div>{{data.companyName}}</div>
        </div>
      </el-col>
      <el-col :span="8">
        <div class="list-ditem">
          客户描述：
          <div>{{data.companyDesc}}</div>
        </div>
      </el-col>
    </el-row>
    <el-row :gutter="20">
      <el-col :span="8">
        <div class="list-ditem">
          联系邮箱：
          <div>{{data.email}}</div>
        </div>
      </el-col>
      <el-col :span="8">
        <div class="list-ditem">
          所属行业名称：
          <div>{{data.industryname}}</div>
        </div>
      </el-col>
      <el-col :span="8">
        <div class="list-ditem">
          手机号联系电话：
          <div>{{data.mobile}}</div>
        </div>
      </el-col>
    </el-row>
    <el-row :gutter="20">
      <el-col :span="8">
        <div class="list-ditem">
          联系人：
          <div>{{data.name}}</div>
        </div>
      </el-col>
      <el-col :span="8">
        <div class="list-ditem">
          职务：
          <div>{{data.post}}</div>
        </div>
      </el-col>
      <el-col :span="8">
        <div class="list-ditem">
          规模：
          <div>{{data.scale}}</div>
        </div>
      </el-col>
    </el-row>
    <el-row :gutter="20">
      <el-col :span="8">
        <div class="list-ditem">
          通讯地址：
          <div>{{data.address}}</div>
        </div>
      </el-col>
      <el-col :span="8">
        <div class="list-ditem">
          营业范围：
          <div>{{data.businessScope}}</div>
        </div>
      </el-col>
      <el-col :span="8">
        <div class="list-ditem">
          公司状态：
          <div>{{data.companystatus}}</div>
        </div>
      </el-col>
    </el-row>
    <el-row :gutter="20">
      <el-col :span="8">
        <div class="list-ditem">
          注册资金：
          <div>{{data.registerMoney}}</div>
        </div>
      </el-col>
      <el-col :span="8">
        <div class="list-ditem">
          注册成立时间：
          <div>{{data.registerTime}}</div>
        </div>
      </el-col>
      <el-col :span="8">
        <div class="list-ditem">
          身份编码：
          <div>{{data.socialCreditCode}}</div>
        </div>
      </el-col>
    </el-row>
    <el-row :gutter="20">
      <el-col :span="8">
        <div class="list-ditem">
          logo：
          <div><img :src="data.logo" /></div>
        </div>
      </el-col>
      <el-col :span="8">
        <div class="list-ditem">
          经营状态：
          <div>{{data.managementType}}</div>
        </div>
      </el-col>
      <el-col :span="8">
        <div class="list-ditem">
          企业性质：
          <div>{{data.companyNature}}</div>
        </div>
      </el-col>
    </el-row>
    <el-row :gutter="20">
      <el-col :span="8">
        <div class="list-ditem">
          登记机关：
          <div>{{data.registrationAuthority}}</div>
        </div>
      </el-col>
      <el-col :span="8">
        <div class="list-ditem">
          法人：
          <div>{{data.legalPerson}}</div>
        </div>
      </el-col>
      <el-col :span="8">
        <div class="list-ditem">
          状态：
          <div>{{["待审核","已同意"][data.status]}}</div>
        </div>
      </el-col>
    </el-row>
    <el-button @click="cancel">返回</el-button>
  </div>
</template>
<style lang="scss">
  .app-main {
    background: #E7E7E7;
  }

  .app-container {
    margin: 15px;
    background: #fff;
    border-radius: 5px;
  }

  .CustomerApplyDetails{
    .list-ditem {
      display: flex;
      align-items: center;
      font-size: 15px;
      color: #595959;
    }
    .el-button{
      display:block;
      margin:30px auto;
    }
  }
</style>
<script>
  export default {
    name: "CustomerApplyDetails",
    // dicts: ['sys_status', 'contarct_status', 'rent_month_type', 'unit_type'],
    data() {
      return {
        data:""
      };
    },
    created() {
      this.data=this.conductionData.customerapplyDetails;
      console.log(this.data);
    },
    methods: {
      getList(){

      },
      cancel(){
        this.$router.go(-1);
      }
    }
  };
</script>
